package com.blackangel.model

import grails.persistence.Entity
import javax.persistence.Embedded
//import javax.persistence.Entity
import javax.persistence.Id

/**
 * Created by IntelliJ IDEA.
 * User: blackangel
 * Date: 11-11-25
 * Time: 上午10:31
 * To change this template use File | Settings | File Templates.
 */
@Entity
class GormUser {
//    @Id
//    Long id
    String name
//    @Embedded
//    Address address
    Date dateCreated
//    static hasMany=[address:Address]
//    static embedded=['address']
    static mapping = {
        autoTimestamp true
    }
}
